/*
 * @Description: In User Settings Edit
 * @Author: your name
 * @Date: 2019-08-24 20:49:20
 * @LastEditTime: 2019-08-24 20:53:13
 * @LastEditors: Please set LastEditors
 */
var photos = []
photos.push({
    name:"Node.js LOGO",
    path:'https://nodejs.org/static/images/logos/nodejs-green.png'
})

photos.push({
    name:"Ryan Speeking",
    path:'https://nodejs.org/static/images/ryan-speaker.png'
})


exports.list = function(req,res){
    res.render('photos',{
        title:'Photos',
        photos:photos
    })
}